package com.openlogic.common.logic.decision.scorecard.constants;

/**
* @ClassName: ScoreCardConstants
* @Description: 评分卡常量类
* @author weiyongpeng
* @date 2024年9月30日 上午9:09:26
 */
public class ScoreCardConstants {
	
	public static final String ROW_NUM_KEYWORDS = "rowNum";
	public static final String SCORECARD_CELLS_KEYWORDS = "scoreCardCells";
	public static final String CELL_NUM_KEYWORDS = "cellNum";
	public static final String CELL_TYPE_KEYWORDS = "cellType";
	public static final String CELL_VALUE_KEYWORDS = "cellValue";
	public static final String CELL_TEXT_KEYWORDS = "cellName";
	public static final String CELL_WEIGHT_KEYWORDS = "weight";
	public static final String ROW_SPAN_KEYWORDS = "rowSpan";
	public static final String COL_SPAN_KEYWORDS = "colSpan";

	public static enum CellTypeEnums{
		PARAM_DOT_CELL("1","参数单元格"),
		CONDITION_EXPR_CELL("2","条件表达式单元格"),
		SCORE_EXPR_CELL("3","分值单元格");
		
		private String code;
		private String desc;
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
		private CellTypeEnums(String code, String desc) {
			this.code = code;
			this.desc = desc;
		}
		
	}
}
